package com.buba.system.dao;


import com.buba.system.pojo.Job;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface JobMapper {

    List<Job> selJob(String employeeId);

    List<Job> selJobByEmployeeId(String employeeId);

    List<Job> selAllJob();


    Integer addJobByEmployeeId(Map<String, Object> map);

    Integer delJobByEmployeeId(List<String> list);

    Integer addJob(Job job);

    Integer delJobTitle(List<String> list);

    Integer delEmpJobId(List<String> list);
}
